package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 试卷信息对象 exam_info
 * 
 * @author training
 * @date 2021-10-25
 */
public class ExamInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long examId;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String examName;

    /** 培训Id */
    @Excel(name = "培训Id")
    private Long trainId;

    /** 总题量 */
    @Excel(name = "总题量")
    private Long totalNum;

    /** 单选题量 */
    @Excel(name = "单选题量")
    private Long singleSelectNum;

    /** 多选题量 */
    @Excel(name = "多选题量")
    private Long multiSelectNum;

    /** 判断题量 */
    @Excel(name = "判断题量")
    private Long judgeNum;

    /** 总分 */
    @Excel(name = "总分")
    private Long totalScore;

    /** 公司Id */
    @Excel(name = "公司Id")
    private Long companyId;

    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setExamName(String examName) 
    {
        this.examName = examName;
    }

    public String getExamName() 
    {
        return examName;
    }
    public void setTrainId(Long trainId) 
    {
        this.trainId = trainId;
    }

    public Long getTrainId() 
    {
        return trainId;
    }
    public void setTotalNum(Long totalNum) 
    {
        this.totalNum = totalNum;
    }

    public Long getTotalNum() 
    {
        return totalNum;
    }
    public void setSingleSelectNum(Long singleSelectNum) 
    {
        this.singleSelectNum = singleSelectNum;
    }

    public Long getSingleSelectNum() 
    {
        return singleSelectNum;
    }
    public void setMultiSelectNum(Long multiSelectNum) 
    {
        this.multiSelectNum = multiSelectNum;
    }

    public Long getMultiSelectNum() 
    {
        return multiSelectNum;
    }
    public void setJudgeNum(Long judgeNum) 
    {
        this.judgeNum = judgeNum;
    }

    public Long getJudgeNum() 
    {
        return judgeNum;
    }
    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("examId", getExamId())
            .append("examName", getExamName())
            .append("trainId", getTrainId())
            .append("totalNum", getTotalNum())
            .append("singleSelectNum", getSingleSelectNum())
            .append("multiSelectNum", getMultiSelectNum())
            .append("judgeNum", getJudgeNum())
            .append("totalScore", getTotalScore())
            .append("companyId", getCompanyId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
